//
// Decompiled by Jadx - 498ms
//
package me.plusne.common.Json;

import java.io.Serializable;
import java.util.List;

public class JsonHelp implements Serializable {
    private int count;
    private List<DataBean> data;
    private int toDay;

    public boolean canEqual(Object obj) {
        return obj instanceof JsonHelp;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof JsonHelp)) {
            return false;
        }
        JsonHelp jsonHelp = (JsonHelp) obj;
        if (!jsonHelp.canEqual(this) || getCount() != jsonHelp.getCount() || getToDay() != jsonHelp.getToDay()) {
            return false;
        }
        List<DataBean> data = getData();
        List<DataBean> data2 = jsonHelp.getData();
        return data != null ? data.equals(data2) : data2 == null;
    }

    public int getCount() {
        return this.count;
    }

    public List<DataBean> getData() {
        return this.data;
    }

    public int getToDay() {
        return this.toDay;
    }

    public int hashCode() {
        int toDay = getToDay() + ((getCount() + 59) * 59);
        List<DataBean> data = getData();
        return (toDay * 59) + (data == null ? 43 : data.hashCode());
    }

    public void setCount(int i) {
        this.count = i;
    }

    public void setData(List<DataBean> list) {
        this.data = list;
    }

    public void setToDay(int i) {
        this.toDay = i;
    }

    public String toString() {
        return "JsonHelp(data=" + getData() + ", count=" + getCount() + ", toDay=" + getToDay() + ")";
    }

    public static class DataBean implements Serializable {
        private int id;
        private String key;
        private int state;
        private String user;
        private String value;

        public boolean canEqual(Object obj) {
            return obj instanceof DataBean;
        }

        public boolean equals(Object obj) {
            if (obj == this) {
                return true;
            }
            if (!(obj instanceof DataBean)) {
                return false;
            }
            DataBean DataBean = (DataBean) obj;
            if (!DataBean.canEqual(this) || getId() != DataBean.getId() || getState() != DataBean.getState()) {
                return false;
            }
            String key = getKey();
            String key2 = DataBean.getKey();
            if (key != null ? !key.equals(key2) : key2 != null) {
                return false;
            }
            String value = getValue();
            String value2 = DataBean.getValue();
            if (value != null ? !value.equals(value2) : value2 != null) {
                return false;
            }
            String user = getUser();
            String user2 = DataBean.getUser();
            return user != null ? user.equals(user2) : user2 == null;
        }

        public int getId() {
            return this.id;
        }

        public String getKey() {
            return this.key;
        }

        public int getState() {
            return this.state;
        }

        public String getUser() {
            return this.user;
        }

        public String getValue() {
            return this.value;
        }

        public int hashCode() {
            int state = getState() + ((getId() + 59) * 59);
            String key = getKey();
            int hashCode = (state * 59) + (key == null ? 43 : key.hashCode());
            String value = getValue();
            int hashCode2 = (hashCode * 59) + (value == null ? 43 : value.hashCode());
            String user = getUser();
            return (hashCode2 * 59) + (user != null ? user.hashCode() : 43);
        }

        public void setId(int i) {
            this.id = i;
        }

        public void setKey(String str) {
            this.key = str;
        }

        public void setState(int i) {
            this.state = i;
        }

        public void setUser(String str) {
            this.user = str;
        }

        public void setValue(String str) {
            this.value = str;
        }

        public String toString() {
            return "JsonHelp.DataBean(id=" + getId() + ", key=" + getKey() + ", value=" + getValue() + ", user=" + getUser() + ", state=" + getState() + ")";
        }
    }

}
